﻿using MRSite.AutoMapper.Attributes;
using MRSite.Entity;
using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MRSite.EntityDto
{
    [AutoMapBoth(typeof(BiChangeLog))]
    [ProtoContract]
    public class BiChangeLogDto
    {
        [ProtoMember(1)]
        public int id { get; set; }

        [ProtoMember(2)]
        public Decimal price { get; set; }

        [ProtoMember(3)]
        public Decimal change_price { get; set; }

        [ProtoMember(4)]
        public DateTime changetime { get; set; }

        [ProtoMember(5)]
        public int manage_id { get; set; }

        [ProtoMember(6)]
        public String manage_username { get; set; }

        [ProtoMember(7)]
        public String manage_ip { get; set; }

        [ProtoMember(8)]
        public String remark { get; set; }

        [ProtoMember(9)]
        public int type { get; set; }
    }
}
